﻿using System;
namespace mesoBoard.Services
{
    interface IFiles
    {
        void CreateAttachment(System.Web.HttpPostedFileBase file, int PostID);
        void CreateAttachments(System.Web.HttpFileCollectionBase files, int postID);
        void DeleteAttachment(int attachmentID);
        void DeleteAttachments(int[] attachmentIDs);
        System.Collections.Generic.IEnumerable<mesoBoard.Data.Attachment> GetPostAttachments(int postID);
        void UploadAvatar(System.Web.HttpPostedFileBase file, mesoBoard.Data.User TheUser);
    }
}
